package com.filldream.fastboot.common.util.entity.wx;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotEmpty;

@ApiModel("微信Code")
@Data
public class LoginCodeSTO {

    @NotEmpty
    @ApiModelProperty(value = "微信code", name = "code", example = "xxxxx", required = true)
    private String code;

    @NotEmpty
    @ApiModelProperty(value = "appId",required = true)
    private String appId;

    @ApiModelProperty(value = "微信登陆方式 1-小程序 2-公众号", example = "1", hidden = true)
    private Integer loginType;

}
